package cn.com.jonpad.consumer.user.service;

import cn.com.jonpad.provider.ticket.service.TicketService;
import com.alibaba.dubbo.config.annotation.Reference;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

@Service
@Slf4j
public class UserService {
	@Reference(application = "provider-ticket")
	TicketService ticketService;

	public void hello(){
		log.warn("hello:{}",ticketService.getTicket());
	}
}
